﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AdvancedSearchView.ascx.cs" Inherits="Operations_Views_AdvancedSearchView" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxControlToolkit" %>
<%@ Register TagPrefix="spring" Namespace="Spring.Web.UI.Controls" Assembly="Spring.Web" %>
<%@ Register Assembly="Pg.BioMedics.SDR.Web.Controls" Namespace="Pg.BioMedics.SDR.Web.Controls" TagPrefix="controls" %>

<spring:DataBindingPanel ID="dataBindingPanel" runat="server">
    <table>
        <tr>
            <td class="detailsFormHeader">
                Text query
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <tr>
                        <td class="detailsFormLabel">
                            <asp:Label ID="Label1" Text="Query:" runat="server" />
                        </td>
                        <td>
                            <asp:TextBox ID="queryTextBox" CssClass="detailsFormTextBox" Rows="5" TextMode="MultiLine" runat="server" />
                            <asp:RequiredFieldValidator ID="queryRequiredFieldValidator" ControlToValidate="queryTextBox" Display="None"
                                                        ErrorMessage="Query is required" runat="server" />
                            <ajaxControlToolkit:ValidatorCalloutExtender ID="queryRequiredValidatorCalloutExtender"  HighlightCssClass="highlightValidatorCallout" 
                                                                         TargetControlID="queryRequiredFieldValidator"  
                                                                         runat="server" />                         
                        </td>                                                   
                    </tr>                                                                               
                </table>
                <br />
                <br />                                                             
            </td>
        </tr>                                                                                      
        <tr>
            <td class="detailsFormHeader">
                Audio query
            </td>
        </tr>
        <tr>
            <td>
                <table>
                    <tr>
                        <td class="detailsFormLabel">
                            <asp:Label ID="Label3" Text="Upload file:" runat="server" />
                        </td>
                        <td class="detailsFormValue">                            
                            <controls:FileUpload Id="fileUpload" CssClass="detailsFormTextBox" runat="server" />                            
                            <br />
                            <br />
                        </td>
                    </tr>
                </table>
            </td>                            
        </tr>                        
    </table>
    <asp:Panel ID="Panel1" CssClass="detailsFormCommandPanel" runat="server">            
        <asp:LinkButton ID="searchLinkButton" Text="Search" OnClick="SearchLinkButton_Click" runat="server" />         
    </asp:Panel>                                                                                      
</spring:DataBindingPanel>